import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

//导入vant.js   这这里导入组件，其他页面就不用再导入了
import './utils/vant.js'

//2.导入amfe-flexible :动态设置rem为屏幕1/10
import 'amfe-flexible'
//1.导入axios
//1.1导包
// import axios from 'axios'
// import VueAxios from 'vue-axios'
// Vue.use(VueAxios,axios)
// //1.2将axios挂载到vue构造函数原行中
// Vue.prototype.$axios = axios

// //1.3设置axios基地址
// axios.defaults.baseURL = 'https://autumnfish.cn';

// //导入vant
// import Vant from 'vant';
// import 'vant/lib/index.css';

// Vue.use(Vant);



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
